Swagger changes#47
Conversation
WalkthroughTwo new properties were introduced to the CI configuration to control the enabling of Springdoc OpenAPI and Swagger UI based on an environment variable. Additionally, the JWT user ID validation filter was updated to exclude API documentation and token refresh endpoints from its processing, extending the list of paths that bypass JWT validation. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant JwtUserIdValidationFilter
participant API
Client->>JwtUserIdValidationFilter: HTTP Request (any path)
alt Path is /login, /logout, /public, /swagger-ui, /v3/api-docs, /user/refreshToken
JwtUserIdValidationFilter->>API: Pass through without JWT validation
else
JwtUserIdValidationFilter->>API: Validate JWT, then forward request
end
API->>Client: Response
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|



📋 Description
JIRA ID: AMM-1186
Please provide a summary of the change and the motivation behind it. Include relevant context and details.
✅ Type of Change
ℹ️ Additional Information
Please describe how the changes were tested, and include any relevant screenshots, logs, or other information that provides additional context.
Summary by CodeRabbit
New Features
Bug Fixes